<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<div th:include="include :: header"></div>
<script type="text/javascript" src="/js/face/flv.min.js"></script>
 
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
<!--                 <div class="ibox-content" style="width:50%;margin: auto;text-align: center;" > -->
                     
<!-- 					<h1 th:text="${info?.name}" >东方卫视</h1> -->
<!-- 					<live-player id="player01"  -->
<!-- 						th:video-url="${info?.fetchUrl}" live="true" -->
<!-- 						stretch="true"  autoplay="true" ></live-player> -->
				 
<!--                 </div> -->
			
			<video id="videoElement">111</video>
			<script>
			    if (flvjs.isSupported()) {
			        var videoElement = document.getElementById('videoElement');
			        var flvPlayer = flvjs.createPlayer({
			            type: 'flv',
			            url: 'http://localhost/oflaDemo?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTc3MzE0NjYsInVzZXJJZCI6IjEifQ.rOKp3Yv81Z5XbVx3sG6pf4tOu-2B1LPjetL6VVZGmMc/1163334220563746816.flv',
// 			            hasAudio:false
			        });
			        flvPlayer.attachMediaElement(videoElement);
			        flvPlayer.load();
			        flvPlayer.play();
			    }
			</script>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
</body>
</html>
